Collaboration diagram for XFcGLLight:

Public Attributes | |
| INT32 | mType |
| Light type. | |
| REAL | mDiffuseR |
| Diffuse color of light. | |
| REAL | mDiffuseG |
| Diffuse color of light. | |
| REAL | mDiffuseB |
| Diffuse color of light. | |
| REAL | mSpecularR |
| Specular color of light. Ignored currently. | |
| REAL | mSpecularG |
| Specular color of light. Ignored currently. | |
| REAL | mSpecularB |
| Specular color of light. Ignored currently. | |
| REAL | mAmbientR |
| Ambient color of light. Ignored currently. | |
| REAL | mAmbientG |
| Ambient color of light. Ignored currently. | |
| REAL | mAmbientB |
| Ambient color of light. Ignored currently. | |
| XFcVector3 | mPosition |
| Position of the light in world space. | |
| XFcVector3 | mDirection |
| Direction of the light in world space. Ignored for point lights. | |
| REAL | mRange |
| Light does not evaluate further than this. | |
| REAL | mAttenuateConstant |
| Constant attenuation. | |
| REAL | mAttenuateLinear |
| Linear attenuation. | |
| REAL | mAttenuateSquared |
| Squared attenuation. | |
| REAL | mHotspotAngle |
| Hotspot angle for spotlight cone. | |
| REAL | mFalloffAngle |
| Falloff angle for spotlight cone. | |
You also have to define material in order to get any sensible use out of light sources.
|
|
Ambient color of light. Ignored currently.
|
|
|
Ambient color of light. Ignored currently.
|
|
|
Ambient color of light. Ignored currently.
|
|
|
Constant attenuation.
|
|
|
Linear attenuation.
|
|
|
Squared attenuation.
|
|
|
Diffuse color of light.
|
|
|
Diffuse color of light.
|
|
|
Diffuse color of light.
|
|
|
Direction of the light in world space. Ignored for point lights.
|
|
|
Falloff angle for spotlight cone.
|
|
|
Hotspot angle for spotlight cone.
|
|
|
Position of the light in world space.
|
|
|
Light does not evaluate further than this.
|
|
|
Specular color of light. Ignored currently.
|
|
|
Specular color of light. Ignored currently.
|
|
|
Specular color of light. Ignored currently.
|
|
|
Light type.
|
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch | ||